package com.ruicar.afs.cloud.apply.business.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.apply.business.condition.WorkflowAgencyTaskCondition;
import com.ruicar.afs.cloud.apply.common.entity.WorkflowAgencyTask;
import com.ruicar.afs.cloud.apply.pre.loan.condition.ApplyConditionApprovalCondition;

import java.util.Map;

/**
 * @description: 待办任务
 * @author: sijun.yu
 * @date: 2020/8/6 16:13
 */
public interface WorkflowAgencyTaskService extends IService<WorkflowAgencyTask> {
    /**
     * @param condition
     * @return
     */
    public Map getApplyConditionApprovalInfo(ApplyConditionApprovalCondition condition);

    /**
     * 待办任务激活
     *
     * @param workflowAgencyTaskCondition
     */
    public void reActiveWorkflow(WorkflowAgencyTaskCondition workflowAgencyTaskCondition);
}
